package com.shk.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.shk.entity.PageResult;
import com.shk.pojo.Setmeal;

import java.io.IOException;
import java.util.List;

public interface SetmealService {
        void add(Setmeal setmeal,Integer[] checkgroupIds) throws Exception;

        PageResult findAll(Integer currentPage,Integer pageSize,String queryString);

        void delete(Integer id) throws JsonProcessingException;

       Setmeal findById(Integer id) throws IOException;

       List<Integer> findSetmealAndCheckGroup(Integer id);

       void update(Setmeal setmeal,Integer[] checkgroupIds) throws Exception;


       /*移动端*/
       List<Setmeal> mobileFindAll() throws IOException;
        Setmeal find(Integer id);
}
